package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;
import org.springframework.stereotype.Service;

@Service
public interface EmployeeService {
    R<Employee> login(Employee employee);

    void save(Employee employee);

    R<Page> findByPage(int page, int pageSize, String name);

    void update(Employee employee);

    R<Employee> findById(Long id);




//
//    R<Employee> login(Employee employee);
//
//    void save(Employee employee);
//
//    R<Page> findByPage(int page, int pageSize, String name);
//
//    void updateById(Employee employee);
//
//    R<Employee> findById(Long id);
}
